export default {
    methods: {
        checkPoints(flag) {
            let points = this.$store.state.user.userInfo.roles.points
            return points.some(item => {
                return item == flag
            })
        }
    }
}